Statistical inference for a varying-coefficient partially nonlinear model with measurement errors