Integrated Design of Functional Electrical Stimulator and Transcutaneous Electrical Nerve Stimulator on a Single Prototype