Long-run dynamics of the U.S. patent classification system