Production variability and adaptation strategies of Ugandan smallholders in the face of climate variability and market shocks