Two examples of applied scientific research in ship safety