Exploring factors affecting international technological specialization: the role of knowledge flows and the structure of innovative activity