Fundamenttals of construction and stability of naval ships