Why is halogenation of an alkane a substitution reaction?