Nonlinear parity-time-symmetric transition in finite-size optical couplers.