Thermal Expansion and Period of a Pendulum