Imparting Catalytic Activity to a Covalent Organic Framework Material by Nanoparticle Encapsulation.