The science of clocks and watches