Textile-based electrochemical sensors and batteries for wearable biosensing