An introduction to the Kähler-Ricci flow