Risk factors for lower extremity amputation in patients with diabetic foot ulcers: a hospital-based case–control study