Sabeco, a subsidiary of French retail giant Auchan, is to buy five supermarkets in Spain from fellow grocer Eroski.