Nonparametric estimation of regression parameters in measurement error models