An introduction to the mechanics of solids