Modeling of ferroelectric tunnel junctions based on the Pt/BaTiO3/Nb:SrTiO3 stack