Existence of an attractor and determining modes for structurally damped nonlinear wave equations