The thermal decomposition of ammonium perchlorate.