Spectroelectrochemical analysis of conduction band edge shift