US Stocks Rise on Iran Deal Hopes; S&P 500, Nasdaq Post Best Quarter Since 2020