A comparative study on the dynamic performance of floating and submerged wave energy converter arrays