Thermodynamic properties and approximate solutions of the ℓ-state Pöschl–Teller-type potential