Brands that keep loyalty programmes and retail media separated are leaving value on the table.