Advances in the synthesis and applications of porous carbon materials