Estimation in the nonlinear errors-in-variables model