Hydrodynamic analysis of resonant waves within the gap between a vessel and a vertical quay wall