Sandwich-type porous carbon/sulfur/polyaniline composite as cathode material for high-performance lithium–sulfur batteries