Recent advances and applications of solar photovoltaics and thermal technologies