Promoting Motivation and Self-Regulated Learning Skills through Social Interactions in Agent-based Learning Environments