How Russia became a market economy