Ab initio molecular orbital study of dications of 1,5-dichalcogenacyclooctanes