Integrating history of mathematics in the classroom: an analytic survey