TiN as a simple and efficient polysulfide immobilizer for lithium–sulfur batteries