Pernod Ricard has sold two Canadian whisky brands to US spirits group Sazerac for an undisclosed sum.