Technology adoption and risk exposure among smallholder farmers: Panel data evidence from Tanzania and Uganda