Machine learning for accelerating the discovery of high-performance low-cost solar cells