Resilient adaptation to climate change in African agriculture