ESSAYS ON FIRM DYNAMICS AND MERGERS AND ACQUISITIONS