A new analysis shows how grocery store openings like Trader Joe's and Walmart reflect neighborhood wealth and home prices.