Hydrodynamic interaction between two structures, floating in waves