Consecutive halogen transfer between various functional groups induced by reaction of hypohalous acids: NADH oxidation by halogenated amide groups.