Development of a balance assessment system using off-the-shelf motion sensors