The role of water in the electrochemical response of platinum