Electrochemical behavior of nickel in nitric acid and its corrosion