EU to intensify cooperation with transit and origin countries of migration