Why have socialist economies repeatedly struggled with shortages, corruption, black markets, and authoritarianism?