The rational relationship between heating degree days and temperature