The absolute temperature of a perfect gas is proportional to the average