In situ system for X-ray absorption spectroscopy experiments to investigate nanoparticle crystallization.