why does the period of the pendulum decrease if the length of the pendulum decrease?