Potential–pH diagrams for hydroxyl and hydrogen adsorbed on a copper surface