Mechanism of the CO oxidation reaction on O-precovered Pt(111) surfaces studied with near-edge x-ray absorption fine structure spectroscopy.