Effect of crown class and habitat type on climate–growth relationships of ponderosa pine and Douglas-fir