U.S. equities ended higher for the day and mixed for the week, with the Dow and S&P 500 posting their first weekly declines of the new year.