Canadian court says reporter must give police material