Dimension of attractors and invariant sets of damped wave equations in unbounded domains