Elliptic classes of Schubert varieties via Bott–Samelson resolution