Shares of Krispy Kreme surged after the doughnut maker reported stellar earnings. It's having a great year too. So is rival Dunkin' Brands.