Direct Observation of the Formation of Nanoparticles by in situ Time-Resolved X-ray Absorption Spectroscopy