The Evolutionary Structure of Scientific Theories