Mechanisms of oxygen evolution