A theoretical study of the geometry and electronic spectra of dioxirane, dioxymethane and its anion