Structures of the Intermediates of Metal-Ion-Promoted Ring Opening Reactions of 1,3-Dithiolanes and 1,3-Dithianes in Nonaqueous Media