The dynamics of knowledge transfer in mergers and acquisitions