The charging of ice by differences in contact potential