Historians are starting to explore the dark side of science