Metal–organic frameworks for lithium–sulfur batteries