Space-confinement and chemisorption co-involved in encapsulation of sulfur for lithium–sulfur batteries with exceptional cycling stability