Heterocyclic compounds synthesis of heterocyclic compounds involving the reactions of dehydroacetic acid and its derivatives