Structure of amorphous transition metal sulfides