The relationship between research and innovation in the semiconductor and pharmaceutical industries (1981–1997)