9 ways chronic pain can affect quality of life