A method of determining standards for ecological compensation in agricultural areas, giving priority to environmental flows in water allocation