Electrochemical mechanism of electrolysis codeposition of Mg-Sr alloy in molten salt