Tuning the stability of electrochemical interfaces by electron transfer reactions.