A sustainable livelihoods approach for action research on wastewater use in agriculture.