Reactions of 1,2-dihaloethanes with chalcogenide anions