Essays on the Economics of Affordable Housing