Three-dimensional hierarchical porous carbon derived from natural resources for highly efficient treatment of polluted water