Assessment of nonlinear dose–response relationships via nonparametric regression