Parametric and nonparametric identification of nonlinearity in structural dynamics