Trimming the π bridge of microporous frameworks for bidentate anchoring of polysulfides to stabilize lithium–sulfur batteries