Promoting mathematical investigation in class: reflections on the role of the teacher on the basis of experiences conducted in the secondary school