Iranian president warns against division after talks with US