Migration, friendship ties, and cultural assimilation