Interpretation of electron spectra produced in electron and negative ion collisions with O2 by autoionization processes