Libya and Tunisia are principal departure points for migrants risking dangerous sea voyages in hopes of reaching Europe.