Why is the halogenation of an alkane a substitution reaction?