Synthesis and application of porous organic polymers for removal of pollutants from wastewater