The Kozai Mechanism and the Stability of Planetary Orbits in Binary Star Systems