On the pH dependence of electrochemical proton transfer barriers