Thermal decomposition of cubic ammonium perchlorate-the effect of barium doping