Electrochemical behaviors of Mg2+ and B3+ deposition in fluoride molten salts