Weight-driven chamber clocks of the Middle Ages and the Renaissance