Hudson’s Bay Co to buy German Galeria Kaufhof for $3.17 billion