Introduction to modern statistical mechanics