Sensing polymer inhomogeneity in coated metals during the early stages of coating degradation