A methylation-inspired mesoporous coordination polymer for identification and removal of organic pollutants in aqueous solutions.