Contrast of photovoltaic and solar thermal energy production