A green electrolysis of silver-decorated MoS2 nanocomposite with an enhanced antibacterial effect and low cytotoxicity