Developing a prediction model for all‐cause mortality risk among patients with type 2 diabetes mellitus in Shanghai, China