Electrochemical study of the graphite—HNO3 system