Experimental and numerical study of free-surface wave resonance in the gap between two elongated parallel boxes with square corners