Differential rate method for kinetic measurements. Thermal decomposition of ammonium nitrate