Electrode and cell potentials