Hydrodynamic performance of a floating breakwater as an oscillating-buoy type wave energy converter