Surface-science simulation study of the electrochemical charge-transfer reaction (H)ad + (H2O)ad→(H3O+)ad + e−metal on Pt(111) and Cu(110)