Demonstration of a pulsed photoelectron spectrometer on mass-selected negative ions: O−, O2−, and O4−