High rainfall afforded resilience to tropical rainforests around 50 million years ago