Essays on the Economics of Education and Family Formation in Developing Countries