Modelling parallel markets in centrally planned economies