Supermarket chains are investing in virtual and in-person nutrition education to reverse unhealthy eating habits—and to keep shoppers coming back as lockdowns end.