A Network-Based Measure of the Socio-Economic Roots of the Migration Flows