Liquid crystal cells based on photovoltaic substrates