Machine learning used to identify high-performing solar materials