Regular and equilibrium natures of Al–Mg electrodeposition from chloride-based molten salts