Synthesis and use of halodifluoromethyl heterocycles