Photoemission studies of the adsorption and reaction of hydrogen and oxygen on platinum and platinum–gold alloys