Bank of Canada warns on prolonged inflation, ends bond-buying program