Thermodynamic considerations of same-metal electrodes in an asymmetric cell