Iran ready for talks if U.S. changes attitude