Heinz is to buy Benedicta, a French manufacturer of tabletop sauces, mayonnaises and salad dressings.