Phase Equilibria and Electrochemistry