Electrochemical cells and half reactions