Porous carbon from polymer waste materials