A thermodynamic model of nickel smelting and direct high-grade nickel matte smelting processes: Part I. Model development and validation