Control of water pollution from agriculture