Prescribed heroin offers answer for worst addicts: study