Digital technologies in designing mathematics education tasks : potential and pitfalls