Nonlinear damping in energy harvesters