Electrodes for REMPI spectroscopy in static gases and calculation of REMPI intensities: Application to molecular oxygen