Validation of static and dynamic balance assessment using Microsoft Kinect for young and elderly populations