Electrification based devices with encapsulated liquid for energy harvesting, multifunctional sensing, and self-powered visualized detection