Evaluation of the role of surface pretreatments on the corrosion process. Correlation between conventional and electrochemical tests