Validating the early corrosion sensing functionality in poly (ether imide) coatings for enhanced protection of magnesium alloy AZ31