Synthesis of the oxirane ring by oxidation of unsaturated compounds, or of mixtures of unsaturated and saturated compounds