Dynamics of Polar Resonances and Their Effects on Kozai–Lidov Mechanism