Causal versus structural explanations in scientific revolutions