An Introduction to Statistical Physics