Photoelectrochemical study of the layered compound In23Pse3