Thermo-managing and flame-retardant scaffolds suppressing dendritic growth and polysulfide shuttling toward high-safety lithium–sulfur batteries