Application of Metal-Organic Frameworks and Covalent Organic Frameworks as (Photo)Active Material in Hybrid Photovoltaic Technologies