US soup maker Campbell Soup has reported a rise in quarterly earnings, helped by higher sales of convenience products.