Phase transitions of sulfur at high pressure: Influence of temperature and pressure environment