Cardiac energy harvesting and sensing based on piezoelectric and triboelectric designs