Matrix elements for the modified Pöschl—Teller potential