Performance analysis and application of a hybrid electromagnetic-triboelectric nanogenerator for energy harvesting