Excitation functions for nuclear reactions induced by high-energy pions