Market Snapshot: Dow, S&P 500 carve out records in final session of year, with Nasdaq scoring best annual gain since 2009