Theories and sociology of the history of science