Subnanosecond transient photocurrents in a-Se and a-Si:H