Anion-Doped Cobalt Selenide with Porous Architecture for High-Rate and Flexible Lithium-Sulfur Batteries.