Which of these statements is true of both endothermic and exothermic reactions?