Hydroclimatic adaptation critical to the resilience of tropical forests