Statistical Physics for Cosmic Structures