CVS beats estimates, but cuts full-year profit outlook on higher medical costs