Computational and experimental investigation of elemental sulfur and polysulfide