Porous polymers as an anchor for catalysis