Manipulating the carrier concentration and phase transition via Nb content in SrTiO3