Solid-state endoperoxide thermolysis. The kinetics of oxygen release into the gas phase