Prediction of motion responses between two offshore floating structures in waves