The complex interplay between theory in mathematics education and teachers’ practice: reflections and examples