Inventive Activity, Diffusion, and the Stages of Economic Growth