Teacher education through the history of mathematics