Heterocyclic compounds containing 1,3-oxazole or hydrogenated 1,3-oxazole rings not condensed with other rings having one double bond between ring members or between a ring member and a non-ring member