Auchan is to buy Hungarian firm Magyar Hipermarket from Belgian retailer Louis Delhaize.