Assessing empathy and managing emotions through interactions with an affective avatar.