what do we call the measurement and / or study of the transfer of heat energy into or out of a system during a chemical reaction or physical process