Sweden and Finland formally apply to join Nato