Reversible phase transitions in the Pt(111)-sulfur system