Essays on Workers and Firms in Developing Countries