Mechanisms of the C-H halogenation of adamantane in the presence of N-hydroxyphthalimide