Non-farm income, gender, and inequality: evidence from rural Ghana and Uganda