When ammonium carbonate is heated, water, ammonia, and carbon dioxide are produced. what type of chemical reaction is occurring? write formulas for the reaction products?