Panera posts 24% jump in profit on cost cuts, sales gains