Up-scaling, formative phases, and learning in the historical diffusion of energy technologies