Global attractors for nonlinear viscoelastic equations with memory