A watershed based optimization approach for agricultural non-point source pollution management