A legal dispute resolution intervention for patients with substance use disorders: a study protocol for a randomized controlled trial