Excited-state energies and distortions of d0 transition metal tetraoxo complexes: A density functional study