Stability of new exact solutions of the nonlinear Schrödinger equation in a Pöschl–Teller external potential