Deforestation, climate change threaten the ecological resilience of the Amazon rainforest