Production of Negative Pions of Medical Interest by High-Energy Protons