Preference formation and institutional change