Ab initio MCSCF and CI calculations of the singlet-triplet energy differences in oxyallyl and in dimethyloxyallyl