Temporal-aware Modelling of Emotions and Mental States