The adsorption of CO, O2, and H2 on Pt