Realism, Continuity, and the Historiography of Science