Pyro-phototronic effect enhanced self-powered photodetector