UK and France reach deal to tackle migrant crossings