Iran was once an ally of Israel and the US, but after the 1979 revolution that disposed the shah, alliances shifted