Implantable cuff and method for functional electrical stimulation and monitoring