Stability of ammonium halates in the solid state. Kinetics and mechanism of the thermal decomposition of ammonium bromate