Metal atom doping-induced S-scheme heterojunction boosts the photoelectric response