In search of markets and technology: the role of cross-border knowledge for domestic productivity