Investigation of the mechanism of metal–organic frameworks preventing polysulfide shuttling from the perspective of composition and structure