Hydrogen assisted magnesiothermic reduction of TiO2