Experimentally derived rate coefficients for electron ionization, attachment and detachment as well as ion conversion in pure O2 and N2–O2 mixtures