Essays on firms, growth, and competition