Taking painkillers to treat inflammation could lead to chronic pain, research suggests