Automatic analysis of the electromyogram in patients with chronic partial denervation