The third and final round of Iran’s presidential debates has been held live on television, with a focus on the candidates’ foreign policy.