CEO John Mackey recounted having a dream in which Whole Foods Market merged with Amazon a year and a half before the deal was announced.