A general linear hydroelasticity theory of floating structures moving in a seaway