Expressive power of tensor-network factorizations for probabilistic modeling