The evolution of photovoltaic technologies for energy production: state–of–the–art context and recent developments