Systems engineering-based approach to integrated water quality management in river basins