Nanostructured metal sulfides for energy storage.