Immigration, opportunity, and assimilation in a technology economy