Mechanisms of methylene blue electrode processes studied by in situ electron paramagnetic resonance and ultraviolet–visible spectroelectrochemistry