Iran meddelar att eventuellt samarbete med ärkefienden USA endast är aktuellt om landet bryter med Israel.