Behaviour of moored ships in harbours