Reaction pathways in surface femtochemistry: routes to desorption and reaction in CO/O2/Pt(111)