Social capital, children's skills and parental inputs: four essays in empirical economics