Molecular and electronic structure of cyclo[10]thiophene in various oxidation states