High-order dispersion effects in two-photon interference