Synthesis and Application of Redox-Active Covalent Organic Frameworks in Rechargeable Batteries