Nonlinear model reduction via discrete empirical interpolation