The Relationship between Chronic Pain and Neurocognitive Function