Leveraging Cognitive States for Adaptive Scaffolding of Understanding in Explanatory Tasks in HRI