New mesoporous carbon materials synthesized by a templating procedure