Intrinsic spin Hall effect in monolayers of group-VI dichalcogenides: A first-principles study