Chemical Trend of Transition-Metal Doping in WSe2