Electrochemical reduction of metal oxides in molten salts for nuclear reprocessing