Laminar dispersion at low and high Peclet numbers in finite-length patterned microtubes