Chlorination of humic materials: byproduct formation and chemical interpretations