EMOTIONAL AND COGNITIVE FUNCTIONING IN PATIENTS WITH CHRONIC PAIN