Nationalism and state legitimation in contemporary China