Self-referenced frequency response measurement of high-speed photodetectors through segmental up-conversion based on low-speed photonic sampling.