Smart self-cleaning coatings for corrosion protection