Socio-ecological niche: a conceptual framework for integration of legumes in smallholder farming systems