Explaining the association between rates of in-migration and out-migration