Thermal decomposition of sodium amide