Effect of R&D and market concentration on merger outcomes