Gender, agricultural investment and productivity in an era of out-migration