for endothermic reaction to be spontaneous