Sweden has signed a letter of intent to send at least 100 Gripen fighter jets to Ukraine over the next decade.