US economy beats expectations but jobless claims rise