Solar energy is set to become the cheapest source of electricity in many parts of the world within the next 10 years, with the cost of photovoltaics continuing to decline.