Analog Solutions of Discrete Markov Chains via Memristor Crossbars