Stocks end first week of 2023 higher after jobs report spurs big rally