Essays in development economics and industrial organization