US stocks rise as traders digest upbeat economic data