Inflation in Canada slows more than expected to 1.7% in July