Photoluminescent properties of n-GaAs electrodes: applications of the dead-layer model to photoelectrochemical cells. Technical report