Changes in postural sway and performance of functional tasks during rehabilitation after traumatic brain injury