The Mechanics of Mechanical Watches and Clocks