A density-driven first-order phase transition in liquid sulfur