Innovation, knowledge spillovers, and dynamic comparative advantage : evidence from Japan and the United stataes