Linear and quadratic dispersion characterization of millimeter-length fibers and waveguides using common-path interferometry.