Directed ring opening of oxiranylcarbinyl radicals in the synthesis of medium ring carbocycles and oxygen heterocycles