A comparison of the meaning and uses of models in mathematics and the empirical sciences