Period-doubling bifurcations and chaotic motion for a parametrically forced pendulum