studying and determining past climates using trees