Scientists are working on nonaddictive opiates, pills that sober you up, and pot designed to produce certain moods.