Fabrication of Nanostructured Electrochemical Devices and Their Applications in Self-powered Smart Sensor Systems