Influence of nonlinear intermolecular forces on the harmonic behavior of NEM resonators