J & J Snack Foods, the US snack maker, has posted "record" sales and earnings for its fiscal third quarter.