Three-Dimensional Nonlinear Dynamics And Vibration Reduction Of Gear Pairs And Planetary Gears