Measuring Psychological Flexibility in Chronic and Acute Pain