Heterocyclic compounds containing 1,3-oxazole or hydrogenated 1,3-oxazole rings not condensed with other rings