Expressive power of tensor-network factorizations for probabilistic modeling, with applications from hidden Markov models to quantum machine learning