Temperature-enthalpy approach to the modelling of self-propagating combustion synthesis of materials