Convertibility risk: the precautionary demand for foreign currency in a crisis