Iran ready to pull back from nuclear pacts after UN sanctions vote