Cell potential and half-cell reactions