Recognizing Nonverbal Affective Behavior in Humanoid Robots