Adoption and evolution of the metric system