Diffusion and development of new energy technologies: lessons learned in view of renewable energy and energy efficiency end-use projects in developing countries