Electrochemical reduction of Gd(III) and Nd(III) on reactive cathode material in molten fluoride media