First-passage times for non-Markovian processes driven by dichotomic Markov noise.