Endogenous integration and welfare in complementary goods markets