Electrochemical study of hard chromium coatings for wear and corrosion control