US-based food group B&G Foods has closed its initial public offering of almost 16m shares of its Class A common stock as a separately traded security.