Theoretical and data-driven approaches to semiconductors and dielectrics: from prediction to experiment dielectrics first-principles calculations machine learning phase diagrams photovoltaics semiconductors