How resilient are farming households and communities to a changing climate in Africa? A gender-based perspective