New polyhydrazides and poly(1,3,4‐oxadiazole)s containing pendent phenoxy groups