How to compute reduction potential half cell?