Derivation and validation of a clinical prediction model for assessing the risk of lower extremity amputation in patients with type 2 diabetes.