The owners of two of Europe's leading department store retailers, Galeria Kaufhof and Karstadt, have agreed to merge the two chains in a bid to compete more effectively against e-commerce players.