Characterization of initial film formation during cathodic electrodeposition of coatings