Removing nonvolatile organic chlorine and its precursors by coagulation and softening