Preparation and characterization of activated carbons from corn cob