Covalent Organic Frameworks as Promising Platforms for Energy-related Applications