A fundamental coupling methodology for modeling near-field and far-field wave effects of floating structures and wave energy devices