Photonic instantaneous frequency measurement using non-linear optical mixing