Immigration restrictions and second-generation cultural assimilation: theory and quasi-experimental evidence