Thermal reactions of 3-Furyl Fulgide and 3-Thienyl Fulgide. Ab initio molecular orbital and CASSCF studies