A unified approach to motion of grain boundaries, relative tangential translation along grain boundaries, and grain rotation