Correlation between discharging property and coatings microstructure during plasma electrolytic oxidation