The History of the Metric System: from the French Revolution to the SI