Assimilative Capacity and Flow Dilution for Water Quality Protection in Rivers