Chronic Pain Conditions as a Moderator between Pain Catastrophizing and Cognitive Functioning