Synthesis and antioxidant activity of 1,3,4-oxadiazoles and their diacylhydrazine precursors derived from phenolic acids