Triboelectric nanogenerator for harvesting pendulum oscillation energy