Stocks edged lower Thursday as hopes for a Greek debt solution faded and talks between the country and its creditors got extended into the weekend. Health care stocks rose sharply after the Supreme Court upheld the Affordable Care Act's insurance subsidies.