Gasless combustion synthesis of refractory compounds