The use of mathematical models in ecology