The waning of the communist state :economic origins of political decline in China and Hungary