Israel will "regret this crime", Iran's supreme leader says of the attack that killed two generals.