Self-stratifying coatings for metallic substrates