Amazon to buy Whole Foods Market in deal valued at $13.7 billion