Electrochemical behavior of neodymium and formation of Mg-Nd alloys in molten chlorides