Cognitive and Affective Benefits of a Mindful State in Response to and in Anticipation of Pain