State Legitimacy and Dynamics of the 1989 Pro-democracy Movement in Beijing