Stabilizing cathodes of lithium–sulfur batteries by the chemical binding of sulfur and their discharge products to carbon nanofibers