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