A functional analysis-based approach to quantify upper limb impairment level in chronic stroke patients: a pilot study