An examination of the effects of nutrients on the water quality of shallow rivers