Creating baked-good scarcity is helping bakeries entice more customers and cut down on costly food waste.