Photoelectron excitation of atomic-oxygen resonance radiation in the terrestrial airglow