US snack manufacturer J&J Snack Foods has seen its quarterly earnings more than double on the back of an 8% rise in sales.