Smart epoxy coatings for early detection of corrosion in steel and aluminum