Nonisothermal reduction of oxides in carbon-saturated melts