Relating students' reasoning to the history of science: the case of chemical equilibrium