Three essays in labor economics and the economics of education