Diagnosis of chronic pain syndromes