Introduction to Nonequilibrium Statistical Physics and Its Foundations