Flexible, Wearable Electromyography And Electrocardiography Sensor For Continuous And Remote Monitoring Of Chronic Pain And Sleep Apnea