The Role of Demand and Supply in the Generation and Diffusion of Technical Change