Electrically controlled ion transfer and pH change near a conducting polymer-coated electrode