Bank of Canada governor warns about 'structural changes, painful transition'