Effect of hydrostatic pressure and uniaxial strain on the electronic structure of Pb1−xSnxTe