Theoretical study of electrocyclic ring opening of oxirane