Aerosol-assisted self-assembly of mesostructured spherical nanoparticles