An investigation of the implementation and student outcomes of instruction for self-regulation through mediated collaborative problem solving