Thermodynamic predictions for the formation of ceramic-metal composite by self-propagating high-temperature synthesis