Whole Foods Market posted a jump in sales and profits during the second quarter, as less cautious consumers started returning to the high-end natural and organic retailer.