Simulation of formamide hydrolysis by hydroxide ion in the gas phase and in aqueous solution