Estimation of the free energy changes of nitride formation of rare earth metals in liquid iron alloys