Optical homodyne detection with an injection-locked Er-doped-fiber ring laser.