Institutional Legacies and the Economic, Social, and Political Environment for Transition in Hungary and Poland