Metal-Organic Frameworks as a Platform for CO2 Capture and Chemical Processes: Adsorption, Membrane Separation, Catalytic-Conversion, and Electrochemical Reduction of CO2