Temporal Parallelization of Inference in Hidden Markov Models