US doughnut maker and retailer Krispy Kreme has named Stephen Cooper as its new CEO, and warned it may record a loss for the fourth quarter.