Electrodeposition of Ni-Mg alloys from 1-butyl-3-methylimidazolium chloride/glycerin eutectic-based ionic liquid