How are heat and temperature related?