Wall Street ends mostly up, led by health-care stocks