Preparation of porous carbons from thermoplastic precursors and their performance for electric double layer capacitors