The couple behind Bantam Bagels, the New York-based company that parlayed an appearance on “Shark Tank” into investment from entrepreneur Lori Greiner, has sold their business for $34 million.