Comparative adsorption study on carbons from polymer precursors