The efficacy of cognitive-behavioral therapy for insomnia in patients with chronic pain.