Building livelihoods and resilience to climate change in East and West Africa