Bounds for solutions of a class of quasilinear elliptic boundary value problems in terms of the torsion function