Mechanism of ozonolysis