The Gains from Agricultural Groundwater Trade and the Potential for Market Power: Theory and Application