Grain boundary sliding and lattice dislocation emission in nanocrystalline materials under plastic deformation