Types of halogen reactions