Halocyclization of unsaturated alcohols and carboxylic acids using bis(sym-collidine)iodine(I) perchlorate