Highly diastereoselective cycloaddition reactions of variously substituted 1-thia- and 1-thia-3-aza-buta-1,3-dienes. Synthesis of enantiomerically pure 5,6-dihydro-4H-[1,3]thiazines and 3,4-dihydro-2H-thiopyrans