Synthesis of nanostructured metal sulfides via a hydrothermal method and their use as an electrode material for supercapacitors