Modeling emotional expressions as sequences of behaviors