Preparation of alkyl halides from alcohols