Halogenation of adamantane and related compounds