Social context, semiotic mediation, and forms of discourse in constructing knowledge at school