Atomistic simulation of grain boundary sliding and migration