Effect of nanoparticle size on the mechanical properties of nanoparticle assemblies.