resulting in potential difference in water splitting as