Synthesis of Structured Porous Polymers with Acid and Basic Sites and Their Catalytic Application in Cascade-Type Reactions