A convenient synthesis of 1,3,4-thiadiazole and 1,3,4-oxadiazole based peptidomimetics employing diacylhydrazines derived from amino acids