Function after through-knee compared with below-knee and above-knee amputation