Nonlinear oscillations of cables under harmonic loading by analytical and finite element models