photovoltaic effect explained