In situ time-resolved XAFS study on the structural transformation and phase separation of Pt3Sn and PtSn alloy nanoparticles on carbon in the oxidation process.