Diffusion-accomodated rigid-body translations along grain boundaries in nanostructured materials