Photocurrent loss within the depletion region of polycrystalline solar cells