Porous nitrogen-doped carbon nanofibers assembled with nickel nanoparticles for lithium-sulfur batteries.