Essays on human capital and entrepreneurship