Third-generation solar cells