Nanoparticle self-assembly: from interactions in suspension to polymer nanocomposites.