Spectroelectrochemical analysis of HOPG surface controlled modification