Electrochemical Formation and Phase Control of Mg–Cu Alloys