Chlorination by hypochlorous acid. Free-radical versus electrophilic reactions