Risk factors that predict major amputations and amputation time intervals for hospitalised diabetic patients with foot complications