Stereospecific synthesis of 2,3-dimethyl-1,4-thiamorpholines by cyclization of β-n-methoxycarbonylaminoalkyl vinyl sulfoxides and related compounds