Nitrogen-Doped Carbons in Li–S Batteries: Materials Design and Electrochemical Mechanism