Porous carbon derived from a metal-organic framework as an efficient adsorbent for the solid-phase extraction of phthalate esters.