Heterocyclic compounds containing 1,3-oxazole or hydrogenated 1,3-oxazole rings condensed with carbocyclic rings or ring systems having two or more ring systems containing condensed 1,3-oxazole rings