Technological change and the rate of diffusion