Theory of grain boundary motion in the presence of mobile particles