Semiotic mediation: from history to mathematics classroom