Stress-inspired dynamic optimisation on working memory for cognitive robot social support systems