Simulating the effects of ship motion on postural stability using articulated dynamic models