Identification of quadratic responses of floating structures in waves