In situ total X-ray scattering study of WO3nanoparticle formation