Mesoporous carbon preparation by in-situ carbonization via a reaction under autogenic pressure at elevated temperature