Universal dynamic phase-calibration technique for fiber-optic interferometric sensors and phase modulators.