Central banks may one day need to issue their own cryptocurrencies, the Bank for International Settlements said.