New method for the synthesis of benzene- and phenylmethanesulfonylmethyl-substituted 1,3-dithiolanes and 1,3-dithianes