Historical conceptual developments and the teaching of mathematics: rethinking phylogenesis and ontogenesis