Text this: Development and assessment of an integrated ecological modelling framework to assess the effect of investments in wastewater treatment on water quality