Porous Functionalized Covalent-Triazine Frameworks for Enhanced Adsorption Toward Polysulfides in Li-S Batteries and Organic Dyes