The Age of Mass Migration: Economic and Institutional Determinants