Characteristics and Determinants of the Resilience of Smallholder Farmers: Lessons from Application of the RIMA II Methodology in Eastern Africa