Ring-to-ring interconversion: a reactivity study of some substituted Z-phenylhydrazones of the 5-amino-3-benzoyl-1,2,4-oxadiazole.