Design and evaluation of a low-cost instrumented glove for hand function assessment