Formation of a comprehensive migration policy as a condition for ensuring the stability of the EU countries