hor are the amount of heat transferred and the change in tempreture of water related