The role of gait analysis in planning reconstructive surgery