Oxidation of transition-metal cations in the gas phase. Oxygen bond dissociation energies and formation of an excited-state product