Iran to continue nuclear talks with US but vows not to give up its rights amid threats of military action