Automatic identification system, fitted to ships for transmitting ship's name and other data which can be received by other ships and shore stations