Theoretical Investigation of Competing Mechanisms in the Thermal Unimolecular Decomposition of Acetic Acid and the Hydration Reaction of Ketene