An implantable electrical interface for in vivo studies of the neuromuscular system