Taylor dispersion of particles in stratified media with random transition rates