Synthetic studies in oxygen and nitrogen containing heterocyclic compounds as potential antifungal and antibacterial agents.