Energy transfer during chemical reactions