Essays in mergers and acquisitions