Calibration of demodulators