In situ infrared spectroscopic and scanning Kelvin probe measurements of water and ion transport at polymer/metal interfaces