On the principles and mechanism of the combustion of ammonium perchlorate