The damping of an oscillating ellipsoid near a free surface