The Thatcher government believed that Israel would use nuclear weapons if it felt it was in danger of being destroyed, according to declassified British documents.