Solidification or cooling of liquid sulfur