String-like collective atomic motion in the melting and freezing of nanoparticles.