The effect of domestic and foreign trade coordination on technological innovation: complements or substitutes?