Constructing covalent triazine-based frameworks to explore the effect of heteroatoms and pore structure on electrochemical performance in Li–S batteries