An efficient route to 3-trifluoromethylpyrazole via cyclization/1,5-H shift and its applications in the synthesis of bioactive compounds