The effects of irrigation on poverty: a framework for analysis