Structural changes in thermoelectric SnSe at high pressures