On the mechanism of grain-boundary migration in metals: A molecular dynamics study