The International Monetary Fund (IMF) has warned against the flagship cryptocurrency Bitcoin being used as legal tender.