Reduction process of uranium(IV) and uranium(III) in molten fluorides