Essays on Economic History, Immigration, and Human Capital