Porous carbon prepared from polyacrylonitrile for lithium-sulfur battery cathodes using phase inversion technique