Electrophoretic deposition of colloidal particles on Mg with cytocompatibility, antibacterial performance, and corrosion resistance.