Electrochemical and optical techniques for the study and monitoring of metallic corrosion