Robot-supported assessment of balance in standing and walking