Resistive switching effect in SrTiO3−δ∕Nb-doped SrTiO3 heterojunction