The effects of M&As and Alliances on dynamic capabilities