Chitosan-derived three-dimensional porous carbon for fast removal of methylene blue from wastewater