Solid-state photoelectrochemical cell using a polythiophene derivative as photoactive electrode