Recovery of sulfur from material containing elemental sulfur