what are the legal aspects of mergers and acquisitions