Simulation and structure optimization of triboelectric nanogenerators considering the effects of parasitic capacitance