Ab initio calculations of the effects of H+ and NH4+ on the initial decomposition of HMX.