Modelling the effects of large dams on water quality in tropical rivers