Psychiatric diagnosis and chronic pain