CVS’s stock surges toward a one-year high after profit and revenue beat expectations, amid strength in the pharmacy business, and the full-year outlook was raised.