Immigration and asylum or foreign policy. The EU's approach to migrants and their countries of origin