Dissociative adsorption of oxygen and hydrogen, and the formation of hydroxyl groups on the surface of Cu, Ag, Ni, Pd and Pt