Iran's foreign minister hailed a nuclear accord with world powers as "a historic moment" but acknowledged the deal was "not perfect".