IAEA chief says Iran nuclear impasse can't be solved militarily