Mechanisms of photodissociative ionization of HCOOH: The heat of formation of COOH+