Canada to appeal court ruling allowing brothels