Phase sensitivity of a three-mode nonlinear interferometer