B&G Foods has posted a rise in first-quarter sales and profits despite the under-performance of the US group's Rickland Orchards brand.