Synthesis and electrochemical performance of sulfur–carbon composite cathode for lithium–sulfur batteries