Time dependent DFT study of the electronic transition energies of RuO4 and OsO4