Failure to reach an agreement would carry the risk of a fresh regional war with Israel threatening military action, and Iran saying it would retaliate to any aggression with a ‘crushing’ response