Decoding the activity of populations of motor neurons from multichannel surface and intramuscular EMG