Deriving mathematical manoeuvring models for bare hull ships using viscous-flow calculations