A theoretical study of the dimerization of 1,2-dithia-4-cyclohexene (or 3,6-dihydro-1,2-dithiin), and its corresponding O, N and Se-substituted relatives