A photoelectrochemical investigation of the n- and p-type semiconducting behaviour of copper(I) oxide films