The Standard & Poor’s Case Shiller composite index of 20 metropolitan areas says single-family home prices in the United States gained in June in what could be a sign of improvement in the housing market, the New York Times reports.