Application of electron-transfer theory to excited-state redox processes