A mathematical analysis of the effects of movement on the relatedness between populations