Resilient ecosystems for a changing world