Three essays on industrial organization