Diffraction of random wind-generated waves by detached breakwater or breakwater gap