Canadian retailer Metro Inc is to buy Quebec supermarket chain Les Supermarchés GP.