Functional outcomes of transmetatarsal amputation in the diabetic foot: timing of revascularization, wound healing and ambulatory status