Triboelectric nanogenerators and piezoelectric nanogenerators for preventing and treating heart diseases