Pyro-phototronic effect: An effective route toward self-powered photodetection