Optimum length of record for climatological estimates of temperature