Essays in corporate finance and industrial organization