S&P 500, Dow edge lower as COVID-19 cases rise, home sales drop