Surface atomic distribution and water adsorption on Pt–Co alloys