Molten salt electrochemical production and in situ utilization of hydrogen for iron production