For chronic pain, a change in habits can beat opioids for relief