Formation mechanism of mesostructured silica in confined space: an in situ GISAXS study.