Insight into the formation of polyhalogenated carbazoles during seawater chlorination.