New tools helping ease chronic pain as doctors shift away from opioids