Condensed matter theory: an introduction