An increase in sales has helped quarterly profits to grow at US pretzel manufacturer J & J Snack Foods.