Design and Implementation of a Compressed Sensing Encoder: Application to EMG and ECG Wireless Biosensors