The influence of upper mantle discontinuities on the toroidal free oscillations of the Earth