Environmental effects of WWTP discharge on the quality of the receptor river