ZnCl2 catalyzed efficient synthesis of 1,3,4-oxadiazole and 1,3,4-thiadiazole