Time domain ship motions by a three-dimensional Rankine panel method