Restoration of hand function in patients with neuromuscular impairments through an intelligent neuroorthosis