Electrochemistry of oxygen with lithium and protons