The rise in anti-immigration sentiment in parts of the world highlights the policy challenge: to ensure migration generates clear benefits for countries both sending and receiving migrants