A vintage model of technology diffusion: The effects of returns to disversity and learning by using