An introduction to the theory of rotating relativistic stars