Photonic instantaneous frequency measurement with digital output based on dispersion induced power fading functions