Synthesis of heterocyclic compounds by reaction of dialkyl acetylenedicarboxylates with thiourea derivatives