Which U.S. federal law officially designated the metric system as the preferred system of weights and measures?