Cobalt-doping of molybdenum phosphide nanofibers for trapping-diffusion-conversion of lithium polysulfides towards high-rate and long-life lithium-sulfur batteries.