Flowers Foods, the US baker, is to buy Arizona-based Holsum Bakery in a cash-and-stock deal.