Exotemplating synthesis of nitrogen-doped carbon materials with hierarchically porous structure and their application for lysozyme adsorption