Synthesis of trifluoromethylated 2-benzoyl- and 2-aminoimidazoles from ring rearrangement of 1,2,4-oxadiazole derivatives