migration patterns in history