Convergent results from experimental and theoretical DFT studies of the intramolecular rearrangement of Z-hydrazones of 3-acyl-1,2,4-oxadiazoles