chronic pain and insomnia