The goal of Mikhail Gorbachev’s policies of perestroika and glasnost was to