Electrophoretic (EPD) coatings for magnesium alloys