An Overview of Investigation of Metal and Covalent Organic Frameworks for Various Applications