Highly efficient photoelectric effect in halide perovskites for regenerative electron sources