Quantitative hierarchical representation and comparison of hand grasps from electromyography and kinematic data