From potential painkiller to kitchen-cooked heroin replacement, Nate Adams tracks the history of desomorphine