Self-powered sensitive and stable UV-visible photodetector based on GdNiO3/Nb-doped SrTiO3 heterojunctions