Fabrication of nanometric metal sulfides from xanthate precursors