Entropy-mediated patterning of surfactant-coated nanoparticles and surfaces.