An Energy Aware VLSI Framework for ECG Features Extraction for Wearable Devices in Healthcare