Photovoltage dependence on film thickness and type of illumination in nanoporous thin film electrodes according to a simple diffusion model