Accurate chromatic dispersion characterization of nanophotonic waveguides with thermal phase noise cancellation