Edmond Halley and Apollonius: second-order historical knowledge in mathematics education