Interpretation of photocurrent transients at semiconductor electrodes: Effects of band-edge unpinning